Python 3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> a=10
>>> print(a)
10
>>> a=b=100
>>> print(a,b)
100 100
>>> print('a=',a,'b=',b)
a= 100 b= 100
>>> print('我是最棒的！')
我是最棒的！
>>> print('"我是最棒的"')
"我是最棒的"
>>> print(" '我是最棒的' ")
 '我是最棒的' 
>>> print(''' 我是最棒的，''')
 我是最棒的，
>>> 
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/test.py =========================================================================
我是最棒的
>>> 
==================================================================== RESTART: D:\下载安装包\BaiduNetdiskDownload\源码代码\八卦图.py ====================================================================
>>> ==================================================================== RESTART: D:\下载安装包\BaiduNetdiskDownload\源码代码\八卦图.py ====================================================================
SyntaxError: invalid syntax
>>> 
=================================================================== RESTART: D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py ===================================================================
Traceback (most recent call last):
  File "<string>", line 8, in circle
  File "D:\develop\application\Python\lib\turtle.py", line 1992, in circle
    self._go(l)
  File "D:\develop\application\Python\lib\turtle.py", line 1606, in _go
    self._goto(ende)
  File "D:\develop\application\Python\lib\turtle.py", line 3182, in _goto
    screen._drawline(self.drawingLineItem, ((0, 0), (0, 0)),
  File "D:\develop\application\Python\lib\turtle.py", line 546, in _drawline
    self.cv.coords(lineitem, *cl)
  File "<string>", line 1, in coords
  File "D:\develop\application\Python\lib\tkinter\__init__.py", line 2763, in coords
    self.tk.call((self._w, 'coords') + args))]
_tkinter.TclError: invalid command name ".!canvas"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py", line 205, in <module>
    main()
  File "D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py", line 201, in main
    page2()
  File "D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py", line 191, in page2
    arrow_heart(20, -60, 51)
  File "D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py", line 91, in arrow_heart
    draw_heart(size)
  File "D:\下载安装包\BaiduNetdiskDownload\源码代码\情人节表白.py", line 63, in draw_heart
    turtle.circle(size * -3.745, 45)
  File "<string>", line 12, in circle
turtle.Terminator
>>> 
==================================================================== RESTART: D:\下载安装包\BaiduNetdiskDownload\源码代码\浪漫表白.py ===================================================================
>>> 
>>> 
>>> clear
Traceback (most recent call last):
  File "<pyshell#12>", line 1, in <module>
    clear
NameError: name 'clear' is not defined
>>> 
>>> 
>>> 
>>> 
>>> #新年快乐
>>> name1 = input('收：')
收：王
>>> name2 = input('寄：')
寄：郭
>>> print(##################################)

	;
	
SyntaxError: invalid syntax
>>> print("#################################")
#################################
>>> print(name1)
王
>>> print(name2)
郭
>>> print()

>>> print('Happy New Year to You.')
Happy New Year to You.
>>> print()

>>> print('Your:'name2)
SyntaxError: invalid syntax
>>> print('Your:',name2)
Your: 郭
>>> print('##########################')
##########################
>>> 
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/year.py =========================================================================
收王
寄郭
Traceback (most recent call last):
  File "D:/下载安装包/PythonDate_ls/year.py", line 4, in <module>
    print(name1,name3,strs)
NameError: name 'name3' is not defined
>>> 
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/year.py =========================================================================
收
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/year.py =========================================================================
收：王
寄：郭
王 郭 Happy New Year To Yor.
>>> 
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/year.py =========================================================================
收：王
寄：郭
寄： 郭
Happy New Year To Yor.
收： 王
>>> pip list
SyntaxError: invalid syntax
>>> m = eval(input('加数：'))
加数：1
>>> n = eval(input('另一个加数：'))
另一个加数：2
>>> sum = m+n
>>> print(sum)
3
>>> avg=(m+n)/2
>>> print('平均：',avg)
平均： 1.5
>>> import keyword
>>> print(keyword.kwlist)
['False', 'None', 'True', '__peg_parser__', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
>>> PI
Traceback (most recent call last):
  File "<pyshell#41>", line 1, in <module>
    PI
NameError: name 'PI' is not defined
>>> print(PI)
Traceback (most recent call last):
  File "<pyshell#42>", line 1, in <module>
    print(PI)
NameError: name 'PI' is not defined
>>> print(pi)
Traceback (most recent call last):
  File "<pyshell#43>", line 1, in <module>
    print(pi)
NameError: name 'pi' is not defined
>>> from math import *
>>> pi
3.141592653589793
>>> e
2.718281828459045
>>> id(11)
3094396758640
>>> type(11)
<class 'int'>
>>> type(1.1)
<class 'float'>
>>> x= 100
>>> x=1
>>> print(x)
1
>>> x=y=z=10
>>> print(x,y,z)
10 10 10
>>> a,b=10,20
>>> print(a,b)
10 20
>>> print(3+5)
8
>>> print(3)
3
>>> print('111',end='')
111
>>> print(222)
222
>>> 
========================================================================== RESTART: D:/下载安装包/PythonDate_ls/year.py =========================================================================
收：王
寄：郭
寄： 郭
Happy New Year To Yor.
收： 王
好运：我们
>>> print('好运：',end="")
好运：
>>> print('我们')
我们
>>> 
========================================================================= RESTART: D:/下载安装包/PythonDate_ls/money.py =========================================================================
请输入金额：1029
需要50元张数： 20
需要5元张数： 5
需要1元张数： 4
>>> 
========================================================================= RESTART: D:/下载安装包/PythonDate_ls/times.py =========================================================================
输入秒数：10210310
Traceback (most recent call last):
  File "D:/下载安装包/PythonDate_ls/times.py", line 5, in <module>
    print(hours,'时',minutes,'分',second,'秒')
NameError: name 'second' is not defined
>>> 
========================================================================= RESTART: D:/下载安装包/PythonDate_ls/times.py =========================================================================
输入秒数：121931
33 时 0 分 33 秒
>>> a,b=10,20
>>> a+=b
>>> print(a,b)
30 20
>>> x=2+2j
>>> x.imag
2.0
>>> x.real
2.0
>>> x=5+9y
SyntaxError: invalid syntax
>>> x=5+9i
SyntaxError: invalid syntax
>>> x=5+9j
>>> x.imag
9.0
>>> x.real
5.0
>>> x.conjugate()
(5-9j)
>>> x=True
>>> type(x)
<class 'bool'>
>>> x=0
>>> type(x)
<class 'int'>
>>> x=False
>>> int(x)
0
>>> type(x)
<class 'bool'>
>>> y=True
>>> type(y)
<class 'bool'>
>>> int(y)
1
>>> abs(-1)
1
>>> divmod(98,10)
(9, 8)
>>> pow(2,3)
8
>>> pow(2,3[6])
Traceback (most recent call last):
  File "<pyshell#88>", line 1, in <module>
    pow(2,3[6])
TypeError: 'int' object is not subscriptable
>>> pow(2,3[,3])
SyntaxError: invalid syntax
>>> round(3.141292653,2)
3.14
>>> max(1,2,3,4)
4
>>> min(5,6,21,1)
1
>>> import math
>>> print(math.pi)
3.141592653589793
>>> from math import pi
>>> print(pi)
3.141592653589793
>>> print(e)
Traceback (most recent call last):
  File "<pyshell#97>", line 1, in <module>
    print(e)
NameError: name 'e' is not defined
>>> print(math.e)
2.718281828459045
>>> print(math.n)
Traceback (most recent call last):
  File "<pyshell#99>", line 1, in <module>
    print(math.n)
AttributeError: module 'math' has no attribute 'n'
>>> print(math.nan)
nan
>>> import math
>>> print(math.fabs(-10),math.fmod(10,8))
10.0 2.0
>>> print('your\'s book')
your's book
>>> print('your\'s \n book')
your's 
 book
>>> s='I AM  LUCK'
>>> print(s[0],s[1],s[-1],s[-2])
I   K C
>>> 